GetPage<T>(Guid) Method


Page type
Page identifier

Get a typed version of a specified page. This is usefull if you know what type of page you are getting. If you don't you should go with the more generic GetPage(Guid pageId).

Syntax

'Declaration
 
Public Overloads Shared Function GetPage(Of T As CmsPage)( _
   ByVal pageId As Guid _
) As T
public static T GetPage<T>( 
   Guid pageId
)
where T: CmsPage

Parameters

pageId
Page identifier

Type Parameters

T
Page type

Return Value

Returns a strongly typed page.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

This documentation was created using Document! X from Innovasys